package com.yh.homestay.service.impl;

import com.yh.homestay.common.CapitalGoodsRustlt;
import com.yh.homestay.common.ResultMessage;
import com.yh.homestay.pojo.CapitalGoods;

import java.util.Date;

public interface CapitalGoodsService {
    //查询所有物资
  //  public ResultMessage findAllCapitalGoods(Integer page, Integer limit);

    public ResultMessage findAllCapitalGoods(Integer page, Integer limit, String start, String end, String goodsName);
    //添加物资
    CapitalGoodsRustlt addCapitalGood(CapitalGoods good);
    //删除单个物资
    CapitalGoodsRustlt delSingleCapitalGood(String goodsNumber);
    //批量删除物资
    CapitalGoodsRustlt delCapitalGood(String nums);
    //查询单个物资
    CapitalGoodsRustlt seleteCapitalSingle(String num);
    //修改物资信息
    CapitalGoodsRustlt updataMaterielSingle(CapitalGoods good);
}
